package com.neusoft.SPNursingHome.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;

@TableName("meal_record")
public class MealRecord {
    @TableId("meal_record_id")
    private Integer mealRecordId;

    @TableField("client_id")
    private Integer clientId;

    @TableField("meal_calendar_id")
    private Integer mealCalendarId;

    @TableField("meal_calendar_day")
    private LocalDate mealCalendarDay;

    private Integer count;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public MealRecord() {}

    public MealRecord(Integer mealRecordId, Integer clientId, Integer mealCalendarId, LocalDate mealCalendarDay) {
        this.mealRecordId = mealRecordId;
        this.clientId = clientId;
        this.mealCalendarId = mealCalendarId;
        this.mealCalendarDay = mealCalendarDay;
    }

    public Integer getMealRecordId() { return mealRecordId; }
    public void setMealRecordId(Integer mealRecordId) { this.mealRecordId = mealRecordId; }

    public Integer getClientId() { return clientId; }
    public void setClientId(Integer clientId) { this.clientId = clientId; }

    public Integer getMealCalendarId() { return mealCalendarId; }
    public void setMealCalendarId(Integer mealCalendarId) { this.mealCalendarId = mealCalendarId; }

    public LocalDate getMealCalendarDay() { return mealCalendarDay; }
    public void setMealCalendarDay(LocalDate mealCalendarDay) { this.mealCalendarDay = mealCalendarDay; }
}
